package com.ms.service.module.analysis.async;

import com.ms.service.module.analysis.GameNameWithHallType;
import com.ms.service.module.analysis.PlatformType;
import com.ms.service.module.analysis.db.AnalysisDAO;
import com.xpec.c4.service.module.task.TaskAsyncCommand;

public class InitRealTimeAnalysisAsync extends TaskAsyncCommand{
	
	private PlatformType platformType;
	
	private GameNameWithHallType gameNameWithHallType;

	@Override
	public void asyncExecute() throws Exception {
		AnalysisDAO.getInstance().initRealTimeAnalysis(platformType, gameNameWithHallType);
	}

	@Override
	public void execute() throws Exception {
		
	}

	public PlatformType getPlatformType() {
		return platformType;
	}

	public void setPlatformType(PlatformType platformType) {
		this.platformType = platformType;
	}

	public GameNameWithHallType getGameNameWithHallType() {
		return gameNameWithHallType;
	}

	public void setGameNameWithHallType(GameNameWithHallType gameNameWithHallType) {
		this.gameNameWithHallType = gameNameWithHallType;
	}
	

}
